from django import newforms as forms
from tagging.forms import TagField

class BookmarkForm(forms.Form):
  '''
   Form for adding de.icio.us style bookmarks 
  '''

  title = forms.CharField(max_length=200)
  description = forms.CharField(widget=forms.Textarea())
  url = forms.CharField(max_length=255)
  tags = TagField()


class BookmarkSearchForm(forms.Form):
  '''
    Form for searching bookmarks
  '''
  q = forms.CharField(max_length=200)

